const getters = {
    sidebar: state => state.system.sidebar,
    routers: state => state.system.routers,
    addRouters: state => state.system.addRouters,

    user: state => state.user.user,
    isAdmin: state => state.user.isAdmin,
    roles: state => state.user.roles,
    page_permissions: state => state.user.pagePermissions,
    action_permissions: state => state.user.actionPermissions
}

export default getters